var express = require('express');
var router = express.Router();
const goodsAttrController = require("../../controllers/GoodsAttrController");

router.post('/listgoods_attr', goodsAttrController.list);
router.post('/addgoods_attr',goodsAttrController.add);
router.post('/onegoods_attr',goodsAttrController.findById);
router.post('/updgoods_attr',goodsAttrController.upd);
router.post('/delgoods_attr',goodsAttrController.del);

module.exports = router;